<template>
  <div @click="hide" class="my-opt-btn">
    <slot />
  </div>
</template>

<!--组件自定义-表格操作栏-下拉操作-->
<script setup lang="ts">
import { ref } from 'vue'
import { EllipsisOutlined } from '@ant-design/icons-vue'

const visible = ref<boolean>(false)

const hide = (): void => {
  visible.value = false
}
</script>

<style lang="less">
.my-opt-btn {
  display: flex;

  li {
    cursor: pointer;
    padding: 0;
    font-size: 12px;
    color: #1d2c51;
    margin-right: 5px;

    span {
      margin-left: 1px;
    }
  }
}
</style>
